<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
   <div>
       <div>
           Hello Spring Boot ~
       </div>
   </div>

   <!--文件上传样例-->
   <form action="/hello/upload" method="post" enctype="multipart/form-data">
       <div>-------------------------------------------</div>
       <div>
           <input type="file" id="file" name="file" value="选择图片" accept="image/gif,image/jpg,image/jpeg,image/png">
       </div>
       <div>
           <input type="submit" value="上传文件">
       </div>
   </form>
</body>
</html>